package com.sirdc.modules.bnp.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.bnp.dao.SysNodeTempleteDao;
import com.sirdc.modules.bnp.filter.SysNodeTempleteFilter;
import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.node.entity.NodeTemplet;

@Service
public class SysNodeTempleteService extends StringPKService<NodeTemplet> {

	@Autowired
	private SysNodeTempleteDao nodeTempleteDao;
	
	@Override
	protected BaseDao<NodeTemplet, String> getDao() {
		return nodeTempleteDao;
	}
	public List<NodeTemplet> query(SysNodeTempleteFilter filter){
		return nodeTempleteDao.query(filter);
	}

}
